package com.to3ks.excelservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.to3ks.excelservice.entity.XlsSwry;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.InsertProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SwryxlsSqlBatchMapper extends BaseMapper<XlsSwry> {

    @InsertProvider(type= XlsSwryProvider.class,method = "insertListSql")
    public void sqlBatchInsert(List list);

    public void xmlBatchInsert(@Param("list") List<XlsSwry> list);

}
